//
//  SSDKBaseReqData.h
//  SuperSDK
//
//  Created by wyht－ios－dev on 15/10/7.
//  Copyright © 2015年 WYHT. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SSDKBaseReqData : NSObject

@property (nonatomic, strong, readwrite) NSMutableDictionary *data;

@property (nonatomic, strong, readwrite) NSMutableDictionary *extra;

@property (nonatomic, strong, readwrite) NSMutableDictionary *common;

- (NSString *) appId;

- (instancetype) setAppId : (NSString *) appId;

- (NSString *) sdkId;

- (instancetype) setSdkId : (NSString *) sdkId;

- (NSString *) channelId;

- (instancetype) setChannelId : (NSString *) channelId;

- (NSString *) versionName;

- (instancetype) setVersionName : (NSString *) versionName;

- (int) versionCode;

- (instancetype) setVersionCode : (int) versionCode;

- (instancetype) setSign : (NSString *) sign;

- (NSString *) sign;

- (NSString *) dataWithKey : (NSString *) key;

- (instancetype) setDataValue : (NSString *) value
                       forKey : (NSString *) key;

- (NSString *) commonWithKey : (NSString *) key;

- (instancetype) setCommonValue : (NSString *) value
                         forKey : (NSString *) key;

- (NSString *) extraWithKey : (NSString *) key;

- (instancetype) setExtraValue : (NSString *) value
                        forKey : (NSString *) key;

- (NSString *) toJson;

@end
